package com.lagou.utils;


import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * 获取日期对象 格式化后的字符串
 * @return
 */
public class PhoneDateUtils {

    public static String getDateFormart(){

        Date date = new Date();

        SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");

        String format = sdf.format(date);

        return format;
    }
}
